package day02_homework;

public class Test04 {
    public static void main(String[] args) {
        String num = "123";
        int d = Integer.parseInt(num);
        System.out.println(d);

        String num2 = "123.456";
        double d2 = Double.parseDouble(num2);
        System.out.println(d2);

    }
}
